package com.boot.mapper;

import com.boot.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author shuchong
 * @since 2022-07-07
 */
public interface RoleMapper extends BaseMapper<Role> {

    @Select("select id from sys_role where role=#{role}")
    Integer selectByRole(String role);
}
